package com.ywjt.platformbusiness.store.model;

public class StoreOrderDataModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"newOrderNum":0,"todayOrderNum":0,"allNewOrderNum":3,"allOrderNum":3}
     * timestamp : 1624438682803
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * newOrderNum : 0
         * todayOrderNum : 0
         * allNewOrderNum : 3
         * allOrderNum : 3
         */

        private Integer newOrderNum;
        private Integer todayOrderNum;
        private Integer allNewOrderNum;
        private Integer allOrderNum;

        public Integer getNewOrderNum() {
            return newOrderNum;
        }

        public void setNewOrderNum(Integer newOrderNum) {
            this.newOrderNum = newOrderNum;
        }

        public Integer getTodayOrderNum() {
            return todayOrderNum;
        }

        public void setTodayOrderNum(Integer todayOrderNum) {
            this.todayOrderNum = todayOrderNum;
        }

        public Integer getAllNewOrderNum() {
            return allNewOrderNum;
        }

        public void setAllNewOrderNum(Integer allNewOrderNum) {
            this.allNewOrderNum = allNewOrderNum;
        }

        public Integer getAllOrderNum() {
            return allOrderNum;
        }

        public void setAllOrderNum(Integer allOrderNum) {
            this.allOrderNum = allOrderNum;
        }
    }
}
